﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->

<Window x:Class="Coding4Fun.Chair.KinectDiagnostic.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		Title="MainWindow" Height="350" Width="525" Closing="Window_Closing">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition />
			<ColumnDefinition />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition />
			<RowDefinition />
		</Grid.RowDefinitions>

		<Image 
			Name="ColorImage"
			Grid.Row="1"
			Grid.Column="0"/>
		<Image 
			Name="DepthImage"
			Grid.Row="0"
			Grid.Column="0"/>
		<Image 
			Name="DepthImageWithMinDistance"
			Grid.Row="0"
			Grid.Column="1"/>

		<StackPanel
			Grid.Row="1"
			Grid.Column="1">
			<StackPanel Orientation="Horizontal">
				<TextBlock>Color:</TextBlock>
				<TextBlock Name="colorFPS" />
			</StackPanel>
			<StackPanel Orientation="Horizontal">
				<TextBlock>Depth:</TextBlock>
				<TextBlock Name="depthFPS" />
			</StackPanel>
			<StackPanel Orientation="Horizontal">
				<TextBlock>Skeleton:</TextBlock>
				<TextBlock Name="skeletonFPS" />
			</StackPanel>

			<TextBlock>Minimum Distance</TextBlock>
			<Slider Name="slider1" Value="1000" Interval="250" Maximum="3975" Minimum="800" ValueChanged="slider1_ValueChanged" />
		</StackPanel>
	</Grid>
</Window>
